package cn.wolfcode.feign;

import cn.wolfcode.domain.RefundVo;
import cn.wolfcode.common.web.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "pay-service")
public interface AlipayFeginService {

    @GetMapping("/alipay/refund")
    Result<Boolean> refund(@RequestBody RefundVo refundVo);
}
